package com.tl.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tl.common.annotation.Excel;
import com.tl.common.core.domain.BaseEntity;

/**
 * 订单对象 app_order
 * 
 * @author suhp
 * @date 2024-07-07
 */
public class AppOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long orderId;

    /** 服务id  随机单和指定单有 */
    @Excel(name = "服务id  随机单和指定单有")
    private Long serviceId;
    
    /**
     * 服务名称
     */
    private String serviceName;
    
    /**
     * 服务code (随机单和指定单有)
     */
    private String serviceCode;

    /** 服务规格  随机单和指定单有 */
    @Excel(name = "服务规格  随机单和指定单有")
    private String serviceSpec;
    
    /**
     * 服务等级 (随机单和指定单有)
     */
    private String serviceLevel;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 订单类型(zdd:指定单，sjd:随即单,dsd：打赏单) */
    @Excel(name = "订单类型(zdd:指定单，sjd:随即单,dsd：打赏单)")
    private String type;

    /** 状态(djd:待接单,fwz:服务中,yqx:已取消,ywc:已完成) */
    @Excel(name = "状态(djd:待接单,fwz:服务中,yqx:已取消,ywc:已完成)")
    private String status;

    /** 支付类型(wx:微信) */
    @Excel(name = "支付类型(wx:微信)")
    private String payType;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private String price;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private String sfPrice;

    /** 平台抽佣金额 */
    @Excel(name = "平台抽佣金额")
    private String platformPrice;

    /** 店员服务金额 */
    @Excel(name = "店员服务金额")
    private String servicePrice;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wxh;

    /** 下单用户id */
    @Excel(name = "下单用户id")
    private Long xdUserId;

    /** 服务用户id */
    @Excel(name = "服务用户id")
    private Long fwUserId;

    /** 购买数量 */
    @Excel(name = "购买数量")
    private Long num;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private String payPrice;

    /** 支付时间 */
    @Excel(name = "支付时间")
    private String payTime;

    /** 支付单号，第三方支付单号 */
    @Excel(name = "支付单号，第三方支付单号")
    private String payOrder;
    
    /**
     * 服务用户名称
     */
    private String fwUserNickName;
    
    /**
     * 服务用户头像
     */
    private String fwUserAvatar;
    
    
    /**
     * 服务用户名称
     */
    private String xdUserNickName;
    
    /**
     * 服务用户头像
     */
    private String xdUserAvatar;
    

    /** 完成时间 */
    @Excel(name = "完成时间")
    private String finishTime;
    
    /**
     * 接单时间
     */
    private String jdTime;
    
    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
    
    /**
     * 是否排除
     */
    private String isPc;
    
    /**
     * 服务详情
     */
    private String serviceInfo;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }
    
    public String getServiceSpec() {
		return serviceSpec;
	}

	public void setServiceSpec(String serviceSpec) {
		this.serviceSpec = serviceSpec;
	}

	public String getServiceLevel() {
		return serviceLevel;
	}

	public void setServiceLevel(String serviceLevel) {
		this.serviceLevel = serviceLevel;
	}

	public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPayType(String payType) 
    {
        this.payType = payType;
    }

    public String getPayType() 
    {
        return payType;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }
    public void setSfPrice(String sfPrice) 
    {
        this.sfPrice = sfPrice;
    }

    public String getSfPrice() 
    {
        return sfPrice;
    }
    public void setPlatformPrice(String platformPrice) 
    {
        this.platformPrice = platformPrice;
    }

    public String getPlatformPrice() 
    {
        return platformPrice;
    }
    public void setServicePrice(String servicePrice) 
    {
        this.servicePrice = servicePrice;
    }

    public String getServicePrice() 
    {
        return servicePrice;
    }
    public void setWxh(String wxh) 
    {
        this.wxh = wxh;
    }

    public String getWxh() 
    {
        return wxh;
    }
    public void setXdUserId(Long xdUserId) 
    {
        this.xdUserId = xdUserId;
    }

    public Long getXdUserId() 
    {
        return xdUserId;
    }
    public void setFwUserId(Long fwUserId) 
    {
        this.fwUserId = fwUserId;
    }

    public Long getFwUserId() 
    {
        return fwUserId;
    }
    
    public String getServiceCode() {
		return serviceCode;
	}

	public void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
	}
	
	public Long getNum() {
		return num;
	}

	public void setNum(Long num) {
		this.num = num;
	}

	public String getPayPrice() {
		return payPrice;
	}

	public void setPayPrice(String payPrice) {
		this.payPrice = payPrice;
	}

	public String getPayTime() {
		return payTime;
	}

	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}

	public String getPayOrder() {
		return payOrder;
	}

	public void setPayOrder(String payOrder) {
		this.payOrder = payOrder;
	}
	
	public String getFwUserNickName() {
		return fwUserNickName;
	}

	public void setFwUserNickName(String fwUserNickName) {
		this.fwUserNickName = fwUserNickName;
	}

	public String getFwUserAvatar() {
		return fwUserAvatar;
	}

	public void setFwUserAvatar(String fwUserAvatar) {
		this.fwUserAvatar = fwUserAvatar;
	}

	public String getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(String finishTime) {
		this.finishTime = finishTime;
	}
	
	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	
	public String getJdTime() {
		return jdTime;
	}

	public void setJdTime(String jdTime) {
		this.jdTime = jdTime;
	}
	
	public String getXdUserNickName() {
		return xdUserNickName;
	}

	public void setXdUserNickName(String xdUserNickName) {
		this.xdUserNickName = xdUserNickName;
	}

	public String getXdUserAvatar() {
		return xdUserAvatar;
	}

	public void setXdUserAvatar(String xdUserAvatar) {
		this.xdUserAvatar = xdUserAvatar;
	}
	
	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	
	public String getIsPc() {
		return isPc;
	}

	public void setIsPc(String isPc) {
		this.isPc = isPc;
	}
	
	public String getServiceInfo() {
		return serviceInfo;
	}

	public void setServiceInfo(String serviceInfo) {
		this.serviceInfo = serviceInfo;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("serviceId", getServiceId())
            .append("serviceSpec", getServiceSpec())
            .append("orderNo", getOrderNo())
            .append("type", getType())
            .append("status", getStatus())
            .append("payType", getPayType())
            .append("price", getPrice())
            .append("sfPrice", getSfPrice())
            .append("platformPrice", getPlatformPrice())
            .append("servicePrice", getServicePrice())
            .append("wxh", getWxh())
            .append("xdUserId", getXdUserId())
            .append("fwUserId", getFwUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
